package brave;

public class ToOriginWallSign implements IWallSign
{

	@Override
	public void onPlayerInteract(WallPlayer wallPlayer)
	{
		System.out.println("name:" + wallPlayer.getBukkitPlayer().getName() +
				" server:" + wallPlayer.getBukkitPlayer().getServer().getName() +
				" world:" + wallPlayer.getBukkitPlayer().getWorld().getName() +
				" fromLoc:" + wallPlayer.getBukkitPlayer().getLocation() +
				" toLoc:" + Brave.origin_spawn_location);
		wallPlayer.setState(WallPlayerState.DEFAULT);
		wallPlayer.getBukkitPlayer().teleport(Brave.origin_spawn_location);		
	}

	@Override
	public Integer getGameId()
	{
		return null;
	}

	@Override
	public Integer getTeamId()
	{
		return null;
	}

}
